#pragma once
#include <stdint.h>
#include <mutex>
#include <iostream>
#include "tcp_server.h"


using namespace std;

class TcpSend
{
private:

public:
	TcpSend(int point = 11002);
	void loadData(string send_str = "hello");
};
//
//class MsServer
//{
//public:
//	MsServer();
//	~MsServer();
//
//private:
//
//};
//
//MsServer::MsServer(int ip_point=11002)
//{
//	TcpServer server(11002);
//
//}
//
//MsServer::~MsServer()
//{
//}

	//ms::TcpServer tcp_server(11002);
	//std::thread server_thread([&] {
	//	tcp_server.run();
	//});

	//json::value jv = {
	//{ "pi", 3.141 },
	//{ "happy", true },
	//{ "name", "Boost" },
	//{ "nothing", nullptr },
	//{ "answer", {
	//	{ "everything", 42 } } },
	//{"list", {1, 0, 2}},
	//{"object", {
	//	{ "currency", "USD" },
	//	{ "value", 42.99 }
	//		} }
	//};
	//std::string s = serialize( jv );

	//tcp_server.loadData(s);
